public class Circle extends Shape{
    double r;

    public Circle(double r) {
        this.r = r;
    }

    @Override
    public double area() {
        return 3.14*r*r;
    }

    @Override
    public double perimeter() {
       return  3.14*2*r;
    }
}
